/**
 * Created by Richard Radlherr.
 * Date: 06.06.2006 17:52
 */

using System;

namespace TagTool.Core
{
	public enum SlotType
	{
		Input,
		Output
	}
	
	[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
	public class NodeAttribute : Attribute
	{
		private bool show = true;
		private SlotType slotType;
		private String name;
		private String valueTypeName;
		
		public NodeAttribute(SlotType slotType)
		{
			this.slotType = slotType;
		}
		
		public bool Show
		{
			get { return show; }
			set { show = value; }
		}
		
		public SlotType SlotType
		{
			get { return slotType; }
		}
		
		public String Name
		{
			get { return name; }
			set { name = value; }
		}
		
		public String ValueTypeName
		{
			get { return valueTypeName; }
			set { valueTypeName = value; }
		}
	}
}
